package com.eshop.eshop2021_v1.mapper.before;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eshop.eshop2021_v1.pojo.GoodType;
import com.eshop.eshop2021_v1.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: 若若叶
 * @date: 2021/10/7 9:49 FileName: GoodTypeMapper Description:
 */
@Mapper
public interface GoodTypeMapper extends BaseMapper<GoodType> {
  // 根据商品类型Id查找所有该类型商品
  List<Goods> findGoodsByTypeId(Integer typeId);
}
